<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #app{
            margin: 20px;
        }
        h4{
            font-size: 25px;
        }
        .input-box>input{
            height: 40px;
            width: 100%;
            margin-bottom: 20px;
            border: none;
            border-bottom: 1px solid rgba(128, 128, 128, 0.227);
            color: gray;
        }
        .input-box>input:nth-child(3){
            box-sizing: border-box;
            border-radius: 40px;
            margin-top: 40px;
            border: none;
            color: gray;
        }
        .bottom{
            display: flex;
            justify-content: space-between;
            color: skyblue;
        }
        footer{
            font-size: 14px;
            margin-top: 150px;
        }
        footer span:nth-child(2){
            color: skyblue;
        }
    </style>
</head>
<body>
    <div id="app">
        <h4>密码登录</h4>
        <div class="input-box">
            <input type="text" placeholder="手机/用户名" v-model="inputText">
            <input type="password" placeholder="密码" v-model="inputPass">
            <input type="button" value="登录" @click="get()">
        </div>
        <div class="bottom">
            <span>手机号登录</span>
            <span>忘记密码</span>
        </div>
        <footer>
            <input type="checkbox"><span>已阅读并同意</span><span>《用户服务协议》、《隐私协议》</span>
        </footer>
    </div>
</body>
</html>
<script src="./vue-2.5.21.js"></script>
<script>
    var v =new Vue({
        el:'#app',
        data:{
            inputPass:'',
            inputText:''
        },
        methods:{
            get(){
                console.log(this.inputText,this.inputPass);
            }
        }

    })
</script>